]> dgit.raspbian.org Git - gnome-shell.git/commit
Support setting the image after construction
authorGiovanni Campagna <scampa.giovanni@gmail.com>
Tue, 6 Jul 2010 07:51:53 +0000 (09:51 +0200)
committerDan Winship <danw@gnome.org>
Wed, 15 Sep 2010 17:34:28 +0000 (13:34 -0400)
commitb5ee89459a701c788a2d7e4887618a62ca8338a6
tree26235ddaf06aa61c6e77f31a8412a8af6ce1cd62
parent2adfca058293a4c84523947f8d804c65eace1e42
Support setting the image after construction

This patch allows the icon in PopupImageMenuItems to be changed at
any time, while preserving the item and all other properties (style,
signals) attached and without rebuilding the whole menu. This is useful
for images reflecting a dynamic status (e.g. cellular strength
indicator or battery level)

https://bugzilla.gnome.org/show_bug.cgi?id=623652
js/ui/popupMenu.js